//
//  YBBBSCell.m
//  Cocoachina
//
//  Created by 尚往文化 on 17/9/15.
//  Copyright © 2017年 YBing. All rights reserved.
//

#import "YBBBSCell.h"
#import <UIImageView+WebCache.h>

@implementation YBBBSCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setBbs:(YBBBS *)bbs
{
    _bbs = bbs;
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:bbs.img]];
    self.titleLabel.text = bbs.title;
    self.descLabel.text = bbs.desc;
}

@end
